﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.Inc.Top" %>
<%@ Register TagPrefix="Common" Namespace="Lx.Web.Common.UI" Assembly="Web.Common" %>
<div class="common">
	<div class="topmenu_op">
		<div class="top_layer">
			<div class="top_logo"><a href="/"><img src="/Images/newLogow.gif" border="0" alt="<%=GetText("C5003")%>" /></a></div>
			<%if (Page.User.Identity.Name != ""){ %>
			<%} %>	
			<div class="top_op">
				<div>
					<asp:Panel Runat="server" ID="Login" Visible="False" HorizontalAlign="Right">
					<div class="floatr" style="padding-top:0px!important; padding-top:1px"><strong><a href='<%=LoginHost%>/<%=Page.User.Identity.Name%>.htm'><%=HttpUtility.HtmlEncode(NickName)%></a></strong> - <a href="/my/settings/generalsettings.htm"><%=GetText("M0005")%></a> | <a href="/mail/inbox.htm"><%=GetText("M0020")%></a><font color="#FF0000" style="font-weight:normal"><%=MessageCount%></font> | <%if (lmCount > 0)
					{ %>
					<a href="/contacts/mycontacts.htm?op=RECV"><%=GetText("M0029")%></a><font color="#FF0000" style="font-weight:normal"><%="(" + lmCount + ")"%></font>
					<%}else{ %>
					<a href="/contacts/mycontacts.htm"><%=GetText("M0029")%></a>
					<%} %> | <a href='<%=LoginHost%>/user/logout.htm'><%=GetText("C0073")%></a> | <a href="http://www.kampyle.com/feedback_form/ff-feedback-form.php?site_code=6560057&amp;form_id=2625&amp;lang=en" target="kampyleWindow" id="kampylink" class="k_static" onclick="k_button.open_ff();return false;"><%=GetText("C3007")%></a><script src="http://cf.kampyle.com/k_button.js" type="text/javascript"></script>&nbsp;&nbsp;
					</div>
					<div class="floatr" style="margin-right:10px">
						<select id="$selWhoChatMe$" name="aa" onchange="UpdateChat()" style="height:22px">
							<option value="1" <%=WhoChatMeSel("1")%>><%=GetText("C0099")%></option>
							<option value="2" <%=WhoChatMeSel("2")%>><%=GetText("C0100")%></option>
							<option value="3" <%=WhoChatMeSel("3")%>><%=GetText("C0101")%></option>
						</select>
					</div>
					<div class="clear"></div>
				</asp:Panel>
				<asp:Panel Runat="server" ID="UnLogin" Visible="False" HorizontalAlign="Right">
				<div><a id="a_login" href="<%=LoginHost%>/user/login.htm"><%=GetText("C0071")%></a>&nbsp;&nbsp;<%=GetText("C0085")%> <a href='<%=LoginHost%>/user/register.htm'><%=GetText("C0072")%></a>&nbsp;&nbsp;<a href="/feedback/feedback.htm"><%=GetText("C3007")%></a>
				</div>
				</asp:Panel>
				<div style="height:15px"></div>
				<script type="text/javascript" src="/Scripts/SiteLanguages.js"></script>
				<script language="JavaScript" type="text/javascript">
					var str = window.location.href;var __unLogin__ = "<%=UnLogin.ClientID%>";
					var obj = document.getElementById("a_login");
					if(obj!=null)
					{
						obj.href += "?IsShow=0&ReturnUrl="+str;
					}
				  </script>
				</div>
				<%if (Page.User.Identity.Name != ""){ %>
				<%} %>
			</div>
			<div class="clear"></div>
		</div>
	</div>
	<div class="topmenu_text">
		<div class="topmenu_text_site">
			<ul>
				<li class="unseltop topmenu_white_text"><div id="navIndex0" class="untopsub"><div><a href="/"><span><%=GetText("M0001")%></span></a></div><div class="untopsubpic"><img src="/Images/submenu_arrow.gif" /></div></div></li>
				<li class="unseltop topmenu_white_text"><div id="navIndex1" class="untopsub"><div><a href="/partner/"><span><%=GetText("M0006")%></span></a></div><div class="untopsubpic"><img src="/Images/submenu_arrow.gif" /></div></div></li>
				<li class="unseltop topmenu_white_text"><div id="navIndex2" class="untopsub"><div style="position:relative"><a href="/teaching/"><span><%=GetText("M0007")%></span></a><img  src='/images/default_new.gif' style="position:absolute; right:0; top:-10; " /></div><div class="untopsubpic"><img src="/Images/submenu_arrow.gif" /></div></div></li>
				<li class="unseltop topmenu_white_text"><div id="navIndex4" class="untopsub"><div><a href="/answers"><span><%=GetText("M0008")%></span></a></div><div class="untopsubpic"><img src="/Images/submenu_arrow.gif" /></div></div></li>
                <li class="unseltop topmenu_white_text"><div id="navIndex11" class="untopsub"><div><a href="/knowledge"><span><%=GetText("M0010")%></span></a></div><div class="untopsubpic"><img src="/Images/submenu_arrow.gif" /></div></div></li>
				<li class="unseltop topmenu_white_text"><div id="navIndex5" class="untopsub"><div><a href="/files"><span><%=GetText("M0009")%></span></a></div><div class="untopsubpic"><img src="/Images/submenu_arrow.gif" /></div></div>
</li>
				<li class="unseltop topmenu_white_text"><div id="navIndex7" class="untopsub"><div><a href="/resources"><span><%=GetText("M0011")%></span></a></div><div class="untopsubpic"><img src="/Images/submenu_arrow.gif" /></div></div></li>
				<li class="unseltop topmenu_white_text"><div id="navIndex8" class="untopsub"><div><a href="/groups"><span><%=GetText("M0012")%></span></a></div><div class="untopsubpic"><img src="/Images/submenu_arrow.gif" /></div></div></li>
				<li class="unseltop topmenu_white_text"><div id="navIndex9" class="untopsub"><div><a href="/learn/language_index.htm"><span><%=GetText("M0013")%></span></a></div><div class="untopsubpic"><img src="/Images/submenu_arrow.gif" /></div></div></li>
			</ul>
		</div>
	</div>
</div>
<script>var obj = document.getElementById('navIndex'+'<%=NavIndex%>');</script>
<script type="text/javascript" src="/Scripts/head.js"></script>